package com.hky.autoconfigdemo;


import org.springframework.boot.CommandLineRunner;
import org.springframework.core.env.Environment;

@SuppressWarnings("unused")
class CustomCommandLineRunner implements CommandLineRunner {
    Environment env;
    public CustomCommandLineRunner(Environment env){
        this.env=env;
    }

    @Override
    public void run(String... args){
        System.out.println("**********实验二：利用SB的自动装配特性实现动态注册组件**********");
    }
}
